package cn.t.dto.order;


import cn.t.core.mode.BaseDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 补货订单表(Replenishment)share dto对象
 *
 * @author t
 * @since 2024-05-24 10:18:38
 */
@Data
@NoArgsConstructor
//"补货订单表")
public class ReplenishmentDTO extends BaseDTO implements Serializable {


   //"补货单号")
    private String rsSn;


   //"设备主键id")
    private Long deviceId;


   //"补货状态 0：待办 1：已结单 2：部分完成 3：关闭")
    private Integer rsStatus;


   //"补货员id")
    private Long userId;


   //"参与者id")
    private Long participantId;


   //"单位id")
    private Long firmId;


   //"补货时间(最后一次补货时间)")
    private Date gmtLastRs;


   //"变更时间起(查询用)")
    private Date gmtModifiedStart;
   //"变更时间止(查询用)")
    private Date gmtModifiedEnd;
   //"创建时间起(查询用)")
    private Date gmtCreatedStart;
   //"创建时间止(查询用)")
    private Date gmtCreatedEnd;

    public ReplenishmentDTO(String rsSn, Long deviceId) {
        this.rsSn = rsSn;
        this.deviceId = deviceId;
    }
}

